//
//  MyTableViewCell.m
//  HarmonizePub
//
//  Created by rzhy on 2016/11/7.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import "MyTableViewCell.h"

@interface MyTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation MyTableViewCell

+ (NSString *)registerName {
    return @"MyTableViewCell";
}

+ (CGFloat)cellHeight {
    return 55.0f;
}

- (void)cellShowDataWithDataDictionary:(NSDictionary *)dataDict {
    self.iconImageView.image = [UIImage imageNamed:dataDict[@"image"]];
    self.titleLabel.text = dataDict[@"title"];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
